<script setup>
const textValue = defineModel('value')
</script>

<template>
  <div v-if="textValue" class="inline-flex items-center gap-0.5em">
    <n-tooltip trigger="hover">
      <template #trigger>
        <span v-copy="textValue" class="cursor-pointer text-gray">
          <icon-park-outline-copy />
        </span>
      </template>
      复制
    </n-tooltip>
  </div>
</template>
